using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysUserroleEntity : EntityBase
{
public SysUserroleTable TableSchema
{
get
{
return (SysUserroleTable)_tableSchema;
}}

public SysUserroleEntity()
{
_tableSchema = SysUserroleTable.Current;
}

#region 属性列表

public Int32? UserRoleID
{
get { return Convert.ToInt32(GetData(SysUserroleTable.C_USERROLEID)); }
set { SetData(SysUserroleTable.C_USERROLEID, value); }
}

public String UserID
{
get { return Convert.ToString(GetData(SysUserroleTable.C_USERID)); }
set { SetData(SysUserroleTable.C_USERID, value); }
}

public Int32? RoleID
{
get { return Convert.ToInt32(GetData(SysUserroleTable.C_ROLEID)); }
set { SetData(SysUserroleTable.C_ROLEID, value); }
}

#endregion
}
}